package com.dongdongshop.em;

public enum ResultEnum {

    SUCCESS(10000,"操作成功"),
    ERROR(10001,"操作失败"),
    NOLOGIN(10002,"没有登陆"),
    ARGS_ERROR(10003,"参数异常");

    private Integer code;
    private String massage;

    ResultEnum(Integer code, String massage) {
        this.code = code;
        this.massage = massage;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }
}
